
<html>
<head>
	<title></title>
	  <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
    <script type="text/javascript" src="js/bootstrap-tab.js"></script>
    <script type="text/javascript" src="http://twitter.github.com/bootstrap/assets/js/bootstrap-tab.js"></script>
      <script src="http://code.jquery.com/jquery.js"></script>
        <script src="js/bootstrap.min.js"></script>
        <style type="text/css">
        #msj1{
position: relative;
		top: 5px;
        	width: 300px;
        	height: 55px;
        	margin-left: -60px;

        }
        </style>
</head>
<body>

	<?php

	$cedula=$_REQUEST['cedula'];
/*	$db= new mysqli("localhost","root","","gesac");
	$query="SELECT cedula FROM paus WHERE cedula='$cedula'";
	$db->query($query);*/

    include('../Model/ModelConexion.php');
    $conexion = new Conexion();
              $consulta_usuario = $conexion->Consulta("
              	SELECT cedula FROM papersonal WHERE cedula='$cedula'
               ");

       /*	$objeto->numero_filas($consulta) == 0*/

	if (	$conexion->numero_filas($consulta_usuario) == 0)
	{
		?>
		<center>
		<h3 id="msj1" class="text text-success glyphicon glyphicon-ok-circle">Acad&eacute;mico no registrado</h3>		
		
		</center>
		<?php
		//echo "Usuario Disponible";
	}
	else
	{
		?>
		<center>
		<h3 id="msj1" class="text text-danger glyphicon glyphicon-ban-circle">Acad&eacute;mico Registrado</h3>		
		</center>
		<?php
	}	

 ?>

</body>
</html>



